<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<a href="${pageContext.request.contextPath}/testGET">测试GET请求</a>
<form action="${pageContext.request.contextPath}/testGET" method="post">
    <input type="submit" value="测试GET请求">
</form>
<form action="${pageContext.request.contextPath}/testPOST" method="post">
    <input type="hidden" name="_method" value="DELETE">
    用户名：<input type="text" name="username"><br>
    密码：<input type="password" name="password"><br>
    <input type="submit" value="测试POST请求"><br>
</form>
</body>
</html>
